Use of Official Document number in VAT Books for Italy

Dear All,
I would like to share with you a big doubt I have regarding the use of Official Document Number in the VAT Books. This is a requirement for an Italian client.
According to my clients requierement they would like to manage 5 different VAT Books:
1. Sale book (for all finished products sold in Italy, EU and outside EU)
2. Sale book for sundry sales (CAPEX, services, other goods ...)
3. Purchase book (for all the goods bought in Italy and out-side EU and for all the services bought in Italy)
4. EU purchase book (for all the goods and services bought from EU suppliers and for all the services bought from not EU suppliers)
5. EU sale (reverse charge) book (with the same numbers and amounts of the purchase book number 4)
For every VAT Book they want the Officil Document number to be displayed. Not only that, they want the Official Document Number to end in 1 (XXXXXXX1) at the start of every natural Year for EVERY VAT Book, and have sequential numbering with no gaps.
My intention is to use: RFKKITVATM. This is a specific VAT report for Italian Companies. The report selects documents that contain regular VAT and that have been assigned an Official Document number (ODN). You run this report to generate such a list for the current month. It selects documents with an ODN based on the invoice or credit memo posting date. You can create as many layout-variants (one per VAT Book??).
My question is: The VAT Books are based on different VAT Codes. How can we have every single VAT Book to start with an Official Document number ending in 1? The number range will be Document type dependant and not VAT Code dependant.
As per my knowledger, To use Official Document Numbering (ODN) in Italy we have to make a number of settings:
- Activate ODN
- Specify which document types the system is to assign official document numbers to.
- Assign installation-specific function modules to events
- Define Number ranges
Have you faced up a similar requirement? Is this a legal requierement or is my client mixing up with another legal requierement related to this subject:  To print a sequential number and the fiscal year on each page of the reportu2019s output list. The System starts the numbering automatically at 1, as it does for each subsequent year.
Many thanks in advance for your help.

Hello All,
Am facing an issue when implementing the ODN solution for Italy. I cannot replicate the ODN in field BKPF-XBLNR_ALT when posting Invoice via MIRO.
1. I have Defined a Document Class per VAT Book
2. I have Assign a Document Class to Document Types (in my example Document Type "RE" to Document class "43". And select "Generate Official Document Number, with date control".
3. I have mantained Number ranges
4. I have Assign the Number ranges to Document Class.
5. In order to transfer the ODN from Billing docs to Accounting docs I have entered the Document Type "RV" at Billing Document Type level.
It all works as expected except for the Accounting documents coming from Logistic Invoice verification - MIRO transaction. Document Type "RE" is used for posting but my field BKPF-XBLNR on Accounting document remains blank.
Is there any additional step am missing?
Thanks in advance.
Regards,

Similar Messages

  • RFUMSV00 VAT Book for Italy

    In report RFUMSV00 I'm having three issues.
    1. Has to do with the date/page number.  Right now our report is only showing the page number.  The customer says that the legal requirement in Italy is for the report to display the Year and then the page number (example 2009/01).
    2.  Has to do with the detail pages are printing with Page 1 (no matter how many pages) and the summary is then Page 2.  Each detail page should be sequential.
    3.  The Sequence number gets out of sync if one document has multiple items.  Only the first item is assigned a Sequence number and the other items for that document are just blank.  Is there a way to have a Sequential number assigned for each item of the document?
    thanks for your help.
    Brett

    For issue # 1, here is an SAP Note.
    https://service.sap.com/sap/support/notes/534254
    There are a bunch of other notes on this topic, some of which may be relevant to you.  Just to go service.sap.com/notes and search for notes with search term "RFUMSV00 VAT Italy".

  • Argentina official document number range (Changing of XBLNR)

    Hi All,
    Working on a typical requirement.
    As some of you are aware, the official document number (XBLNR) is getting generated by system based on branch, document type, document class and print character.
    Is there any posibility to change this value before the Accounting document is going to be created(after I press save)?
    Is there any userexits/BADIs/BTEs that will trigger before this official document number is going to be generated, so that I can change XBLNR value?
    Does anybody had encounter such situation? if so please let me know.
    Appreciate your help on this.
    Regards,
    Nanda.

    Please check below function modules (J_1A_OFF_NUMBER_GET, EXIT_SAPLV60B_001)and user exits. In following function module the official document number is generated. Normally you do not change this.
    Function module: J_1A_OFF_NUMBER_GET
    Text
    Official document numbering in Argentina
    Functionality
    This function module determines an Argentine official document number, it is using the input values to determine a numbering subobject for the numbering object J_1AOFFDOC and calls the numbering module NUMBER_GET_NEXT for this object and number range '01'.
    Parameters
    I_BUKRS
    I_SNR
    I_PRTCHR
    I_DOCCLS
    I_DATE
    E_DOCNR
    E_DATE
    E_DATE_ERROR
    E_XBLNR
    Exceptions
    CLASS_NOT_DEFINED
    INPUT_NOT_VALID
    PRTCHR_NOT_FILLED
    DETERM_NOT_POSSIBLE
    ERROR_NUMBER_GET
    Function Group
    J1AN
    J_1A_OFF_NUMBERING
    J_1AFONR
    Short text
    Printing of the last official documents numbers assigned
    Description
    List the last used official document numbers in the sytem for every combination of document class, branch and printing character who are self-issued (relevant for numbering) -for a certain period-
    Requirements
    Assignation of number ranges and numbering groups for self-issued document types
    The period of time where the report looks for the documents have an initial and a final date in the screen:
    u2022     The final date is obligatory field, because is the searching limit.
    u2022     The initial date field it is not obligatory.
    o     When it is not filled, the report looks for the documents in all the historical data until the final date, this can be high-time-consumer.
    o     When the first date is filled the report looks in the interval of time -recommended-.
    The resulting list present considerable changes depending on the date intenval definition
    Output
    The first list contains the following fields:
    u2022     Reference fields: describe where the document come from (document type FI, Delivery and Billing Type SD, Material Movement MM)
    u2022     KeyFields: Document Class, Branch and Printing Character.
    u2022     Result: Last official number or a legend when no document is found.
    The option for to make a variant of the list is available
    By the button SummaryLIST is possible to access a second list with the result information by the unique possible combinations of the KeyFields (Making omission of the reference fields)
    Access to a document: by clicking in the official number.
    Function module J_1A_OFF_NUMBER_CHECK
    No doc available
    'OFF_NUMBER_GLOBAL_NUMBERING'
    CALL FUNCTION 'OFF_NUMBER_GLOBAL_CHECK'
        EXPORTING
          i_fin1_param = fin1_param
          i_bkpf       = bkpf
        EXCEPTIONS
          OTHERS       = 0.
    Display/change official document numbers: transaction J1A6
    Next to substitution (tx OBBH) you can use Program LXVVFU01  User Exit AC Interface (Header Line).
    function module EXIT_SAPLV60B_001:
    FUNCTION EXIT_SAPLV60B_001.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(XACCHD) LIKE  ACCHD STRUCTURE  ACCHD
    *"     VALUE(VBRK) LIKE  VBRK STRUCTURE  VBRK
    *"     VALUE(XACCIT) LIKE  ACCIT STRUCTURE  ACCIT
    *"     REFERENCE(DOC_NUMBER) LIKE  VBRK-VBELN OPTIONAL
    *"  EXPORTING
    *"     VALUE(XACCHD) LIKE  ACCHD STRUCTURE  ACCHD
    *"     VALUE(XACCIT) LIKE  ACCIT STRUCTURE  ACCIT
    *"  TABLES
    *"      CVBRP STRUCTURE  VBRPVB OPTIONAL
    *"      CKOMV STRUCTURE  KOMV
      INCLUDE ZXVVFU01.
    ENDFUNCTION.
    Include/ userexit ZXVVFU01 (sample code):
    *for Argentinean legal document numbering the field xblnr should be used for the legal document *number.
      if vbrk-vkorg = 'ARXX'.
        case vbrk-fkart.
          when 'F2  '.
    *factura
            XACCIT-BLART = 'RV'.
    *nota de credita
          when 'GAE '.
          XACCIT-BLART = 'DG'.
          when 'ZGAE'.
          XACCIT-BLART = 'DG'.
                         retorno
          when 'ZR70'.
          XACCIT-BLART = 'DG'.
    *nota de debito
          when 'ZLAE'.
            XACCIT-BLART = 'RV'.
          when 'LAE '.
            XACCIT-BLART = 'RV'.
          when others.
        endcase.
        xaccit-xblnr = xaccit-xblnr+0(16)
      endif.
    Via customizing (cross applications Cross-Application Components / General Application Functions /  Cross-Application Document Numbering ´/  Argentina  ) you can set up the document numbering.
    Hope this helps!

  • What is the use of internal document number in excise invoice

    Hi All,
    Could you please explain the use of "Internal Document" number in Excise invoice.
    Regards,
    Mullairaja

    As you would be aware for all types of Excise Transactions like DLFC (for normal sales), GRPO (for goods receiving) etc., system will generate an internal number which is only for reference and this will be a continuous number irrespective of excise transaction type.
    For example, if you generate a sale order, the excise transaction type would be DLFC and let us assume the internal number generated by the system is 11 and immediately, if you generate any other excise document other than normal sales, the internal number would be 12.  This number range you need to maintain in TCode SNUM for object  J_1IINTNUM every year.
    thanks
    G. Lakshmipathi

  • Issue using material document number as dynamic bin for purchase orders

    Hi...
    We are currently using the material document number as a dynamic bin at receiving because we expect to have multiple receipts of the same purchase order.  The current setup has everything going into quality inspection, and an inspection lot creates for each goods receipt.
    When QM rejects parts to return to vendor, a 122 movement is automatically generated.  When this 122 movement generates, the WM stock overview shows a negative balance using the material document number of the 122 movement as the dynamic bin.  The positive balance still shows as the material document from the 101 movement.
    Is there any configuration that can be set up to fix this issue or will SAP always take the most recent material document as the dynamic bin?
    Thanks for the help!

    I've tried the following configuration with movement type configuration:
    Quality stock in 902 storage type with material document as dynamic bin (requirement type configuration updated).  When a return to vendor is completed, there is a positive balance in 902 with the GR material doc number as the bin and a negative balance with the 122 material doc # as the bin. 
    I also tried configuring this with using GR-DOCK as a bin, and had the issue with the quant record being updated by the most recent inspection lot #. 
    I also tried using the PO as dynamic bin, and have the same error as above with the quant.
    Error:
    Error during creation of transfer orders for material document 0026001535
    Date: 05/16/2008
    Time: 10:52:23
    Post.chge not. HR1 2000000011
    No quants exist for posting changes
    So as according to the OSS note I should use material doc # as dynamic bin to avoid this...but when I set this up I get the issue with positive and negative balances in my stock overview because SAP uses the most recent material document number for each posting.

  • Document class to create official document number

    Hi frnds,
        I have a requirement in which for intercompany sales process official document number should be genereted .. But I am  not able to get the number generated and on debugging i found that the document class is not assigned to official  document class .. How can we assign this document ( Intercompany sales document ) to the officilal document class for generating official document number...
    Thanks in Advance...

    try this...... in your second frame .........
    var timer:Timer=new Timer(300);
    timer.addEventListener(TimerEvent.Timer,onTimer);
    timer.start();
    function onTimer(eve:TimerEvent):void{
    timer.stop();
    /////////////////////////////////////   place your whole code inside it................may b this will help ........

  • Using the same serial number on two devices, for Adobe Creative Suite 6 Master Collection

    I already have Adobe Creative Suite 6 Master Collection (student version) installed on my personal home computer, but I'm looking into buying a laptop, will I be able to install the same programs and use the same serial number on my laptop as well as it being on my personal home computer, or would I have to buy separate software for my laptop?

    Fininif you can install Creative Suite 6 on up to two computers for your use.

  • Can you use a Sony gift card to purchase books for my Ipad2?

    I have a Sony ebookstore store gift card ... Am I able to purchase books for my Ipad2 using this gift card?

    Only of Sony offers e-books in a format some app on the iPad can read. You'll need to check with Sony, or search the iTunes Store, to see if such an app exists. You cannot use the Sony gift card in the iTunes Store, nor read any Sony e-books in the iBooks app.
    Regards.

  • How to create multiple Purchase Order  using the same document number?

    HI Friends,
    I m in a product which extracts data from SAP and stored in Access database.
    For that,while i extracting Purchase Order from the Demo Database (SBODemo_US)for OEC Computers,the same DocNum is used for several Purchase Order using Index Line numbers.
    eg:
    DocNum for Purchase Order1 -->3000   0 (Index)
      DocNum for Purchase Order2 -->3000   1 (Index)
        But i can't create multiple Purchase Order using same DocNum manually in SAP B1,Could anybody please help me <b>to create a Purchase Order using same DocumentNumber?</b>
    Thanks in Advance
    SooriyaKala.P

    Hi,
    The problem statement is not quite clear to me.
    As far as I understand your statement, I think you want to club multiple orders into one purchase order using the index incrementally.
    For this I think once you have created the first purchase order, open the purchase order in edit mode the second time and append the new line items.
    If I am getting you wrong please explain the problem statement in more detail.
    Regards,
    Rara.

  • VAT 2010 FOR ITALY

    In VAT 2010 Italy regulation the revese charge should applicable for products also, so either we should create new EU codes or we can use exiting EU codes for products..? Please let me know if you have any idea..
    And please let me know what are all the remaing settings we should folle for VAT 2010 italy.
    Thanks
    Srinivas

    Hi Srinivas
    Could you be more specific.
    as far as the new EU VAT 2010 is concerned, a lot of notes have been released to address several matters in some times on a per country basis.
    Go through the SAP notes and see what suits (or not).
    Regards
    Sidi

  • BAPI_COPAACTUALS_POSTCOSTDATA   Posting document number

    Hi,
    I am using BAPI  : BAPI_COPAACTUALS_POSTCOSTDATA  for posting documents of type 10, B0 , 12,B2(01,02,03,04 – Paledger no’s).
    My requirement is to post records with same document number  for all the 4 currency types in ce10100 table as in screen shot no :
    I tried below way
    For Paledger number 01 , Belnr is blank and posting document by calling BAPI ,now I am using this posted document number from ce10100 table for rest of the 3 types of documents since my requirement is that I need the same document number for all the 4 types of documents
    When I am using this method to post using test run from se37 I am able to post in required way .In my Z Program when i post one document each time by changing currency type(as 10, B0 , 12,B2  )and exit from Program I am able to achieve this functionality but  if I am using same method for multiple records from Internal table it s not working ,it is generating new document number each time when posted as below screen shot
    . I am using Transaction Commit also both when testing in Se37 as test run and also in Z Program.
    Please help me in this issue.

    There is in fact a workaround to this issue.  I see this question asked in lots of places so I figured I would post here:
    4) Although the BAPI does not return the resulting document number and the forums say you cannot do it, this is a workaround that is somewhat hardcoding and requires familiarity with the data. In this example, we expect that the ww106 field is a unique value. Indeed, we went so far as to index the CE table. By specifying the ORDER BY clause, we can make sure we grab the most recent entry first. This is captured immediately after calling the BAPI and doing the BAPI_TRANSACTION_COMMIT and WAIT.
    CALL FUNCTION 'BAPI...
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
         WAIT = 'X'
    SELECT paobjnr pasubnr FROM ce41010 UP TO 1 ROWS
    BYPASSING BUFFER
    INTO (wa-paobjnr, wa-pasubnr)
    WHERE ww100 = itab-key1
    AND ww109 = itab-key2
    AND ww106 = itab-key3
    ORDER BY PAOBJNR DESCENDING PASUBNR DESCENDING
    ENDSELECT.
    There are a few tips and tricks for working with this BAPI posted here:
    [http://raymannion.com/2011/bapi_copaactuals_postcostdata/|http://raymannion.com/2011/bapi_copaactuals_postcostdata/]

  • Intrastat Output File doesnot contain VAT number and Document Number

    Hi experts,
    While creating a output file from Intrastat Dispacth, I am not getting Document number and VAT number in output file.
    I can see the Document number in Display of selection log.
    Can someone help me?
    Thanks
    Arpit

    Hi,
    Try the enhancement FTGOVSEL.
    In the userexit EXIT_SAPLV50G_002, in the include ZX50GU02, write this coding (for the VAT number)
    if c_record_intrastat-kundeuinr is initial.
       select single * from kna1
         where kunnr = c_record_intrastat-kunnr.
         if sy-subrc = 0.
            c_record_intrastat-kundeuinr = kna1-stceg.
         endif.
    endif.
    Remember update the VAT number in the customer (in this case).
    I hope this help you
    Regards,
    Eduardo

  • Fetching CaseID using Document number (BSEG-BELNR)

    Hi Team,
    I need to fetch the dispute case id using the accounting document number .
    T-Code FB03
    I need relation between  BSEG-BELNR and SCMG_T_CASE_ATTR-EXT_KEY.
    Any suggestions welcome.
    Regards
    Sukhjinder

    hey,
    try to use the FM 'FDM_COLL_INVOICES_READ' to fetch the ext_key
    regards,
    sampath

  • BAPI_ACC_DOCUMENT_POST and Official number for Italy BKPF-XBLNR_ALT

    Hello,
    Italy lesgislation imposes every accounting document must have an Official number (VAT number).
    This number has to be located in BKPF-XBLNR_ALT and can be set automatically with a standard customizing (using range number). The relevant function is OFF_NUMBER_GLOBAL_NUMBERING_IT
    Using FB01, there is no problem, the standard uses the customizing to set this number in relevant field.
    But using ACC_DOCUMENT.ACC_DOCUMENT02 Idoc and thus BAPI_ACC_DOCUMENT_POST because some documents comes from an external system, this is not done.
    Do you have an idea ?
    Could you help us ?
    I already find this post on the subject but answer not provided :
    XBLNR_ALT
    Thanks a lot.
    J.C.

    hi,
    see oss note 806173 (and another)
    [Note 806173 - Empty reference (XBLNR_ALT) when documents posted with IDoc|https://service.sap.com/sap/support/notes/806173]
    Extrait
    Summary
    Symptom
    You are using official document numbering for Italy (see note 746162). You post an accounting document with IDoc FIDCCP02, comming from an external system. In the target system no official document number is generated and thus field XBLNR_ALT remains empty.
    Other terms
    XBLNR_ALT, alternative reference number, FIDCCP02
    Reason and Prerequisites
    Reason
    This case is not yet considered.
    Prerequisites
    Italian company code
    Note 746162
    Solution
    The accounting interface is enhanced in order to create an official document number in the target system, if an accounting document is created using IDoc FIDCCP02 coming from an external system.
    The official document number is only generated if field XBLNR_ALT is initial. If the official document number is already created in the external source system, no new official document number is generated. The value of field XBLNR_ALT is taken over to the source system instead. In this case you need to set up carefuly the number ranges for the official document numbers in the source and target systems. You need to ensure that the same official document number is not assigned more than once to different documents.You can ensure this for example, by using different number ranges for each document type.
    Header Data

  • How to fetch accounting document number from known material document number

    Hi,
    Using MIGO transaction, by giving mblnr(material document number) as input, I get accounting document number by clicking FI document.I have to add this accounting document number in my report for corresponding known mblnr(material document number) values.
    My question is how to fetch the accounting document number present in MIGO to add in my report program.
    I used the xblnr(Reference Document Number) which is present both in mkpf and bkpf tables to fetch values.
    I extracted xblnr values with known mblnr values from mkpf (Header: Material Document table).
    and then extracted belnr(accounting document number) from bkpf (Accounting Document Header table) by using xblnr values.
    But the query is running for a long time.
    Is there any other method  to extract the values in a simpler way.
    Kindly advise.
    Thanks and Regards,
    Sanjeev

    I had the values of xblnr and some other fields such as mblnr, budat etc in wi_item table.
    I created a new internal table i_xblnr and got down those values.
    And then created a new internal table i_belnr and tried to get values of belnr in it.
    The code I wrote is given below:
    IF not wi_item[] is initial.
    loop at wi_item.
       at new xblnr.
        ws_xblnr-xblnr = wi_item-xblnr.
         append ws_xblnr to i_xblnr.
       endat.
    endloop.
      select belnr xblnr from bkpf into table i_belnr for all entries in i_xblnr where xblnr = i_xblnr-xblnr.
    ENDIF.
    Kindly look after it.Thank you.
    Regards,
    Sanjeev

Maybe you are looking for

  • Sound Blaster Live! 24-Bit -- Please He

    I have my SB Li've card hooked up to 5. speakers. I have not been able to get 5. sound to work and the only time I can get more than 2 speakers to sound is when I use CMSS and play something in Windows Media Player. If I play something in Winamp, Win

  • How to attach a Contact at Customer Account Level.

    Hi All, I want to know how to attach a contact at customer Account Level. Please let us know the API for the same. Or share some sample code if any. Thanks in advance.

  • PR Work Flow Issue

    Hi folks, Please help me asap.... For PR release Stratergy let us assume that A1(ist approver), B1(2nd approver) , C1(top - last approver) are the approvers of the hierarchy and there is no prerequiste for the A1 should approve for B1 to approver...f

  • How do I get the Bell Fibe Remote app to work through my AirPort Extreme?

    We have Bell Fibe internet and TV through their modem which is then connected to our AirPort Extreme.  During the set up I didn't have to change my existing home network but now the Bell Fibe Remote app on my 5s phone or iPad mini says my Bell wirele

  • Help Viewer doesn't help...AFP connection status?

    I use Airport Extreme Basestation 'n' to connect to the internet. When I use the "Help"menu (Mac Help), I get a spinning beach ball and a box that says, AFP Connection Status...Looking up "XXXXXX'S Computer." I click on the "Cancel" button, nothing h