Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typelist
printablefalse

The user needs to know the hierarchy used by FlowAP conversion in selecting to select tax codes in when creating Vendor Bill Lines.

...

  1. Tax Code that is specified on the Subsidiaries tab of the Vendor record. [The subsidiary sublist is only available on NetSuite Oneworld accounts. FlowAP only supports Oneworld accounts]

  2. Purchase Tax Code set in the Non-US Nexuses tab of the Tax Schedule associated with the item.

    1. Item standard NetSuite form > Accounting subtab > Tax Schedule

  3. Tax Code will be searched using the Tax Code lookup Table set in the FlowAP Subsidiary Setup for the subsidiary.

  4. If none, the system will use the Default Tax Code in the Set Up Taxes page provided it is available for purchases. The default tax code will be based on the transaction’s subsidiary country.

...

  • The complete tax code lookup table is surrounded by brackets.

    • Example: [JSON ARRAY].

  • Each element in the lookup table is surrounded by curly braces and is separated by a comma.

    • Example: [{ELEMENT1}, {ELEMENT2}, {ELEMENT3}]

  • Each element of the lookup table contains four (4) parameters: two (2) mandatory parameters and two (2) optional parameters.

    • Tax Rate - Enter the rate in percentage. This percentage will be compared to the tax rate found in the XML ("/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent").

    • Tax Code - Enter the internal ID of the tax code that will be assigned if all three (3) parameters are met (tax rate, country type, item type)

    • Optionally, you may add the following parameters to differentiate the different taxation scenarios further:

      • Country type - This helps identify if the tax code is used for AP transactions that are:

        • Domestic

        • EU

        • Import

      • Item Type - Enter the nature of the item (Goods, Service). The nature of the item is based on NetSuite item types.

        • Goods - Used for Inventory, Assembly Item sublist lines

        • Service - Used for Non-Inventory, Service, Other Item sublist lines

        • NA - Used for expense sublist lines

      Tax Code - Enter the internal ID of the tax code that will be assigned if all three (3) parameters are met (tax rate, country type, item type)

Note: If either Country Type or Item Type is not included as parameters, the specific tax code applies to all country types or item types.

Tax Code Lookup Table Example

Code Block
languagejson
[
    {
        "taxrate": "0.00%",
        "countrytype": "Domestic",
        "itemtype": "Goods",
        "taxcode": "1126"
    },
    {
        "taxrate": "0.00%",
        "countrytype": "EU",
        "itemtype": "Service",
        "taxcode": "1129"
    },
    {
        "taxrate": "0.00%",
        "countrytype": "EU",
        "itemtype": "Goods",
        "taxcode": "1130"
    },
    {
        "taxrate": "0.00%",
        "countrytype": "Import",
        "itemtype": "Service",
        "taxcode": "1127"
    },
    {
        "taxrate": "0.00%",
        "countrytype": "Import",
        "itemtype": "Goods",
        "taxcode": "1127"
    },
    {
        "taxrate": "0.00%",
        "taxcode": "1126"
    },
]

Lookup Results

  • Invalid Tax Codes are not returned by the lookup

    • Inactive = T

    • trandate is not within Effective From and Valid Until.

    • Available on “Sales Transactions

    • FlowAP Document Subsidiary does not belong to Tax Code Subsidiaries

  • When no tax code is found from the hierarchy: “STA_EMPTY” is set on the taxcode element of the FlowAP document JSON data.

  • The lookup will perform the search for each tax code table element until a taxcode tax code is found. The maximum lookup criteria is 7 elements.

  • The search will start from the array's first element in the array and will stop once a tax code is found.

  • The internal id When a tax rate is found, the internal ID of the tax code will be set on the taxcode element of the FlowAP document JSON when a tax rate is found.

  • Tax code lookup is not used if Inherit PO lines = T. When the inherit PO lines feature is used during conversion, the tax codes defined in the PO are used.