Acumatica API - Endpoint Default 24 200 001 icon

Acumatica API - Endpoint Default 24 200 001

Interact with Acumatica Endpoint Default/24.200.001

Actions478

Invoice → Insert/Update

AI-generated

Summary

Insert or update an Invoice in Acumatica by providing detailed invoice data including applications, billing and shipping contacts, line item details, discounts, taxes, and additional invoice fields.

Inputs

  • Applications Credit Memo — A collection of credit memo applications detailing amounts paid, balance, customer info, document type, status, and other application-specific metadata.
  • Applications Default — A collection of default application entries including amount paid, balance, cash discount taken, payment date, reference number, and status.
  • Bill To Contact — Details of the billing contact including attention, business name, email, and phone number.
  • Details — A collection of invoice line item details such as account, amount, branch, discount amounts, inventory ID, quantity, unit price, tax category, and transaction description.
  • Discount Details — A collection describing discount details including description, discount codes, discountable amount and quantity, discount percent, and manual or skipped discount flags.
  • Ship To Contact — Details of the shipping contact including attention, business name, email, and phone number.
  • Tax Details — A collection of tax line details including taxable amount, tax amount, tax ID, and tax rate.
  • Additional Fields — Additional invoice fields such as amount, balance, billing printed flag, created date, customer, customer order, dates (due, created, last modified), hold flag, location ID, post period, project, reference number, status, tax total, terms, and invoice type.

Output shape

a single record representing the inserted or updated Invoice entity

The operation returns the Invoice record after insertion or update. The input parameters are nested complex objects matching Acumatica's API schema, and only provided fields are sent; empty or default values are cleaned from the request body before submitting to avoid errors.

Examples

Example 1: Insert a new invoice with billing and shipping contact, multiple line items with taxes and discounts.

Populate 'Bill To Contact' and 'Ship To Contact' fields with customer info, add one or more entries in 'Details' to specify invoice line items, optionally add 'Tax Details' and 'Discount Details', and set key fields like 'Customer', 'Date', 'Due Date', and 'Reference Nbr' in 'Additional Fields'.

Links

Discussion