# Save Invoices Save Invoices Endpoint: POST /rest/2.0/INVOICE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.EstimatedStatus` (string) EstimatedStatus - `brmObjects.AvailableActions` (string) AvailableActions - `brmObjects.PendingActions` (string) PendingActions - `brmObjects.CurrentAction` (integer) CurrentAction - `brmObjects.LastAction` (integer) LastAction - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.Status` (string) Status - `brmObjects.MassUpdateError` (string) Invoice Detail Update Errors: Mass Update Workflow Error - `brmObjects.PaymentStatus` (string) Payment Status - `brmObjects.ClosedDate` (string) Closed Date - `brmObjects.BillingProfileId` (integer, required) View Ledger - `brmObjects.ActivityStartDate` (string) ActivityStartDate - `brmObjects.ActivityEndDate` (string) ActivityEndDate - `brmObjects.FileName` (string) FileName - `brmObjects.DueDate` (string) Due Date - `brmObjects.PdfCreatedDate` (string) PDF Created Date - `brmObjects.ManualCloseApprovedFlag` (string) ManualCloseApprovedFlag - `brmObjects.BillingCycleStartDate` (string) Billing Cycle From - `brmObjects.BillingCycleEndDate` (string) Billing Cycle Ending - `brmObjects.ReopenedByInvoiceId` (integer) Reopened By Invoice ID: VOIDED_BY_INVOICE_ID - `brmObjects.BillableFlag` (integer) Billable - `brmObjects.AgingInterval` (string) Aging Interval - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.ApprovalStatus` (string) Approval Status - `brmObjects.ApprovalDate` (string) Approval Date - `brmObjects.ApprovalUserId` (string) Approval User - `brmObjects.EventInvoiceCycleId` (integer) Cycle Type - `brmObjects.CreatedByInvoiceId` (integer) Created By Invoice ID - `brmObjects.SuppressBulkCloseFlag` (string) SuppressBulkCloseFlag - `brmObjects.ReburnFlag` (string) ReburnFlag - `brmObjects.MoveInvoiceDescription` (string) Movements invoice log - `brmObjects.LastGatewayKey` (integer) LastGatewayKey - `brmObjects.NextEstimateDate` (string) NextEstimateDate: NEXT_ESTIMATED_DATE - `brmObjects.VoidFlag` (integer) VoidFlag - `brmObjects.Disputed` (integer) Disputed - `brmObjects.AccountStrategyId` (integer) Account Strategy - `brmObjects.MigratedInvoice` (integer) Migrated Invoice - `brmObjects.InvoiceReburnAction` (string) Reburn Action - `brmObjects.Id` (string, required) Invoice ID: INVOICE_ID - `brmObjects.VoidedByCreditId` (integer) Voided By Credit Id - `brmObjects.LastEmailDeliveryDate` (string) Last Email Sent Date: Last Email Sent Date field is populated with the most recent date that the system sent an email. In cases where an email was sent outside of the system, the field is editable to enable users to populate the field to a specified date. - `brmObjects.AccountingPeriodId` (integer) Accounting Period - `brmObjects.EinvoiceStatus` (string) E-invoicing Status - `brmObjects.AutoPayTriggerDate` (string) Auto-pay Trigger Date: This field can be used to specify an automatic payment trigger date for the invoice, if the account is enrolled in electronic payment and not manual payment. - `brmObjects.SendInvoiceEmail` (integer) SendInvoiceEmail - `brmObjects.EstimateDate` (string) Estimate Date: ESTIMATED_DATE ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.EstimatedStatus` (string) EstimatedStatus - `retrieveResponse.AvailableActions` (string) AvailableActions - `retrieveResponse.PendingActions` (string) PendingActions - `retrieveResponse.CurrentAction` (integer) CurrentAction - `retrieveResponse.LastAction` (integer) LastAction - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.Status` (string) Status - `retrieveResponse.MassUpdateError` (string) Invoice Detail Update Errors: Mass Update Workflow Error - `retrieveResponse.PaymentStatus` (string) Payment Status - `retrieveResponse.ClosedDate` (string) Closed Date - `retrieveResponse.BillingProfileId` (integer) View Ledger - `retrieveResponse.ActivityStartDate` (string) ActivityStartDate - `retrieveResponse.ActivityEndDate` (string) ActivityEndDate - `retrieveResponse.FileName` (string) FileName - `retrieveResponse.DueDate` (string) Due Date - `retrieveResponse.PdfCreatedDate` (string) PDF Created Date - `retrieveResponse.ManualCloseApprovedFlag` (string) ManualCloseApprovedFlag - `retrieveResponse.BillingCycleStartDate` (string) Billing Cycle From - `retrieveResponse.BillingCycleEndDate` (string) Billing Cycle Ending - `retrieveResponse.ReopenedByInvoiceId` (integer) Reopened By Invoice ID: VOIDED_BY_INVOICE_ID - `retrieveResponse.BillableFlag` (integer) Billable - `retrieveResponse.AgingInterval` (string) Aging Interval - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.ApprovalStatus` (string) Approval Status - `retrieveResponse.ApprovalDate` (string) Approval Date - `retrieveResponse.ApprovalUserId` (string) Approval User - `retrieveResponse.EventInvoiceCycleId` (integer) Cycle Type - `retrieveResponse.CreatedByInvoiceId` (integer) Created By Invoice ID - `retrieveResponse.SuppressBulkCloseFlag` (string) SuppressBulkCloseFlag - `retrieveResponse.ReburnFlag` (string) ReburnFlag - `retrieveResponse.MoveInvoiceDescription` (string) Movements invoice log - `retrieveResponse.LastGatewayKey` (integer) LastGatewayKey - `retrieveResponse.NextEstimateDate` (string) NextEstimateDate: NEXT_ESTIMATED_DATE - `retrieveResponse.VoidFlag` (integer) VoidFlag - `retrieveResponse.Disputed` (integer) Disputed - `retrieveResponse.AccountStrategyId` (integer) Account Strategy - `retrieveResponse.MigratedInvoice` (integer) Migrated Invoice - `retrieveResponse.InvoiceReburnAction` (string) Reburn Action - `retrieveResponse.Id` (string) Invoice ID: INVOICE_ID - `retrieveResponse.VoidedByCreditId` (integer) Voided By Credit Id - `retrieveResponse.LastEmailDeliveryDate` (string) Last Email Sent Date: Last Email Sent Date field is populated with the most recent date that the system sent an email. In cases where an email was sent outside of the system, the field is editable to enable users to populate the field to a specified date. - `retrieveResponse.AccountingPeriodId` (integer) Accounting Period - `retrieveResponse.EinvoiceStatus` (string) E-invoicing Status - `retrieveResponse.AutoPayTriggerDate` (string) Auto-pay Trigger Date: This field can be used to specify an automatic payment trigger date for the invoice, if the account is enrolled in electronic payment and not manual payment. - `retrieveResponse.SendInvoiceEmail` (integer) SendInvoiceEmail - `retrieveResponse.EstimateDate` (string) Estimate Date: ESTIMATED_DATE ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error