Sunteți pe pagina 1din 9

Setup for RG2485

Contents
Setup....................................................................................................................................................... 2
Document Numbering ......................................................................................................................... 2
Define Issuing Branches ................................................................................................................... 2
Define Document Classes................................................................................................................. 2
Assign document class to document type. ....................................................................................... 2
Maintain Print characters ................................................................................................................ 3
Define Print Authorization Codes ..................................................................................................... 3
Generate Number Groups................................................................................................................ 3
Maintain Number Ranges ................................................................................................................ 3
Assignment of branch .......................................................................................................................... 4
Maintain branch as Web Service branch. ......................................................................................... 4
Branch determination for billing documents .................................................................................... 5
Assign Branch to Shipping Point ....................................................................................................... 5
Assign Branch to Sales Area ............................................................................................................. 5
Maintain D.G.I report in following Customizing. ............................................................................... 6
Assign official D.G.I. Document types ............................................................................................... 7
Setting up ISO codes for Currency and unit of measure ........................................................................ 7
Maintain RFC destination..................................................................................................................... 7
Reason for 0 VAT ................................................................................................................................. 8
Additional data .................................................................................................................................... 8
Company Code ................................................................................................................................ 8
Customer master ............................................................................................................................. 9
Sales order....................................................................................................................................... 9
Reference details on FI document .................................................................................................... 9
Setup

Document Numbering
SPRO: Cross-Application Components -> General Application Functions -> Cross-Application Document
Numbering -> Argentina

Define Issuing Branches


- View J_1BBRANCV
- Maintain minimum one branch that you will be using for Webservice communication.
- Maintain minimum one branch that you will use in case of contingency mode.

Define Document Classes


Maintained in View V_DOCCLS

Assign document class to document type.


View V_T003_B_I
Please note: In document class, maintaining “official document number” as “Argentina
Electronic Invoice” is not required. Code changes have been done to identify ‘webservice
applicable’ document based on branch. This value can be set as ‘B’ or ‘C’.

Maintain Print characters


- View V_1APRTCHR
- For Domestic: Print character has to be ‘A’ or ‘B’

Define Print Authorization Codes


- View V_1APACD
- Maintain a setting for branch – document class- print char ‘A’ or ‘B’.

Generate Number Groups


- View V_1AOFNR1
- For unique combination of company code, branch, document class and print character, different
number groups have to be used.

Maintain Number Ranges


- For a number group, define a number series ‘09’.
- Number range for series ‘09’ must start from ‘1’.
Assignment of branch

Maintain branch as Web Service branch.


- View J_1AVEBRCH

- For domestic scenario, the “goods or services” field must contain either value S or V or 3.

- Radio button ‘WS Branch’ must be selected if it is applicable for Web service communication.
- Field ‘Cont. Branch’ must be filled incase document has to be processed in contingency mode.
- Flag ‘Automatic release to accounting’ has to be set if the billing document has to be released to
accounting automatically after getting approved from AFIP for WS branch.

* Please note, by default this field value will be empty and so no automatic release to
accounting will be triggered. Please make sure to set this flag.
Branch determination for billing documents
For billing documents, there are 3 ways to determine branch –
Priority 1: Copy routine/user-exit
Priority 2: Shipping point (incase document is created from delivery)
Priority 3: Sales area

Copy routine has to be customer-specific in which they define their logic to determine branch and then
they fill the field VBRK-BUPLA with the same. If customers do not wish to use copy-routine, they can
even use the user-exit (Program RV60AFZC, subroutine USEREXIT_FILL_VBRK_VBRP) to fill VBRK-BUPLA.
Our logic will check this value first and consider this for further validations. If nothing is found, then we
determine branch using shipping point or sales area.

On FI documents, branch is maintained on the screen as input parameter.

Assign Branch to Shipping Point


- Based on the entries in table J_1ASNRDT1, you can now maintain Web service
applicable branches in new table J_1A_WS_BRANCH.
- View to maintain the entries are V_1A_WS_BRANCH.

Assign Branch to Sales Area


- View J_1AV_TVTA
- Here it is important to define the branch that has to be used for domestic scenario.

Maintain D.G.I report in following Customizing.


View V_1AOFTP

Here is its important to define the official document types as below examples -
01 Factura A (Invoice with print character A)
02 Nota de Débito A (Debit memo with print character A)
03 Nota de Crédito A (Credit memo with print character A)
06 Factura B (Invoice with print character A)
07 Nota de Débito B (Debit memo with print character A)
08 Nota de Crédito B (Credit memo with print character A)

For complete list of official document types, please refer to values defined by AFIP.
Assign official D.G.I. Document types
View V_1AOTDETR

Here you have to assign the above official document types to program (J_1A_CAE), document classes
and print character. Please note that print character for documents must be ‘A’ or ‘B’.

Setting up ISO codes for Currency and unit of measure


- View J_1A_CURCODE (Maintain AFIP Currency codes)
This table must contain all the AFIP codes defined for currency.
- View J_1A_UOMCODE (Maintain AFIP codes for Unit of Measure)
This table must contain all the AFIP codes defined for unit of measure.

If any of the above details are missing, it will lead to validation error.

Maintain RFC destination


- View J_1A_RFC_DEST
- Entry has to be created for a combination of company code and branch indicator.
Example: You have created a WS branch ‘2003’ for company code ‘AR01’ and its branch type is
‘V (Service) in table J_1ASNR. Now define RFC destination for it as below by using same
company code and branch indicator.

- Valid from specifies a date as from when this RFC connection will be valid.
- Regime has to be selected as ‘2485’.
- Environment defines whether this communication that you are using will lead to test server or
production server.
- Destination and system name contains the PI server name.
- Activation Flag tells whether this RFC is active now or not.
- Batch Indicator specifies whether for this branch, single invoice data will be processed for
approval at a time or multiple documents will be processed in one communication.
Reason for 0 VAT
- View V_1ARFZ

- Maintain VAT rate code against the ‘Reason 0 VAT’ field in this table.
- Only permitted values of VAT rate code in this view are –
1 Non- Taxable
2 Exempted
3 Taxable at 0%
For values 4, 5, 6: rates will be read based on tax codes and then values will be assigned.
- These are the only values permitted by AFIP. So rate determination has to be as per above
values.

Additional data
Company Code
Create a company code which belongs to country ‘AR’ so that you can use this while creating the
invoices.
Go to transaction OBY6 -> Select Additional data and maintain the below details -
a. Tax type
b. Identification Number (Company code CUIT)
c. Tax number type
Sample shown below -
Customer master
Create customer for Argentina company code and Argentina sales area. Assign a tax type and tax
number to customer.

Sales order
On sales order item level, you have to maintain ‘Reason 0 VAT’ for VAT rate code determination. This
will have the first priority. Else VAT rate code will be determined based on tax code.

Reference details on FI document


In case of credit/debit note, reference details of the original document have to be maintained at item
level ->Invoice.ref . (Reference document number and fiscal year)

S-ar putea să vă placă și