Acumatica API - Endpoint Default 23 200 001 icon

Acumatica API - Endpoint Default 23 200 001

Interact with Acumatica Endpoint Default/23.200.001

Actions478

Bill → Insert/Update

AI-generated

Summary

Upsert Bill record in Acumatica by constructing a request body from grouped parameter collections, unwrapping fixedCollection option keys, stripping defaults, and wrapping values in Acumatica { value: x } format.

Inputs

  • Applications — Fixed collection of application-level amounts and references for the Bill. Multiple rows allowed. Sub-fields: AmountPaid (number, default 0), Balance (number, default 0), DocType (string, default ''), ReferenceNbr (string, default ''), Status (string, default '').
  • Details — Fixed collection of line-item details for the Bill. Multiple rows allowed. Sub-fields include Account, Amount, Branch, CalculateDiscountsOnImport, CostCode, Description, ExtendedCost, InventoryID, LCLineNbr, LCNbr, LCType, NonBillable, POLine, POOrderNbr, POOrderType, POReceiptLine, POReceiptType, POReceiptNbr, Project, ProjectTask, Qty, Subaccount, TaxCategory, TransactionDescription, UnitCost, UOM. All have defaults of 0 or '' as declared.
  • TaxDetails — Fixed collection of tax line details for the Bill. Multiple rows allowed. Sub-fields: TaxableAmount (number, default 0), TaxAmount (number, default 0), TaxID (string, default ''), TaxRate (number, default 0).
  • additionalFields — Optional collection of top-level Bill fields. Sub-fields: Amount, ApprovedForPayment, Balance, BranchID, CurrencyID, Date, Description, DueDate, Hold, LocationID, PostPeriod, Project, ReferenceNbr, Status, TaxTotal, Terms, Type, Vendor, VendorRef, IsTaxValid, LastModifiedDateTime. All have defaults of 0, false, or '' as declared.

Output shape

object

Returns the Acumatica API response body for the upsert operation. The exact field shape is not declared in the provided source; the node returns whatever the Acumatica endpoint responds with.

Examples

Example 1: Insert a new Bill with one Applications row and one Details row.

Set Applications[0].AmountPaid to 500, Details[0].Amount to 1000, leave other fields at defaults. The node will unwind the option key, strip the default values, wrap leaf values, and POST to the Acumatica Bill endpoint.

Links

Discussion