Wednesday, 4 May 2022

Sample payload To Create a Payables Invoice using Rest API in Oracle Fusion

Rest API : https://Host/fscmRestApi/resources/latest/invoices 

Method: Post

Sample payload 

{
    "InvoiceNumber""Test_Rest_007",
    "InvoiceCurrency""USD",
    "InvoiceAmount"2112.75,
    "InvoiceDate""2022-05-02",
    "BusinessUnit""Business Unit",
      "InvoiceSource""Manual invoice entry",
        "InvoiceType""Standard",
  "PayGroup":"Refund",
    "Supplier""Test Supplier ",
    "SupplierSite""MAIN",
       "LiabilityDistribution""100.00000.20501.00000.000",
    "invoiceLines": [
        {
            "LineNumber"1,
            "LineAmount"2112.75,
            "Description"null,
            "invoiceDistributions": [
                {
                    "DistributionLineNumber"1,
                    "DistributionLineType""Item",
                    "DistributionAmount"2112.75,
                    "DistributionCombination""100.00000.60005.00000.000"
                }
            ]
        }
    ]
}

No comments:

Post a Comment