Skip to content

How to Set Invoice Number When Creating AR Invoice Using .NET SDK #261

Description

@divyang-vyas

Hi,

I'm integrating with Sage Intacct using the official .NET SDK, and I'm able to successfully create an Accounts Receivable (AR) invoice via the SDK. However, I’m facing an issue where the invoice number I provide is not being saved in Intacct — instead, the system auto-generates the invoice number.

Here’s a simplified version of what I’m doing:

var invoiceCreate = new InvoiceCreate
{
InvoiceNumber = inv.InvoiceNumber.ToString(),
ReferenceNumber = inv.InvoiceOrderNumber,
CustomerId = inv.SageAccountNumber,
TransactionDate = inv.WeekendingDate,
DueDate = inv.WeekendingDate,
BaseCurrency = inv.BaseCurrency,
TransactionCurrency = inv.TransactionCurrency,
TaxSolutionId = inv.TaxSolutionId
};

Any help, code samples, or clarification would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions